Skip to content

m0rath/detect-log4j-exploitable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

CVE-2021-44228

An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled.

This script will help to detect log4j exploit from the running process. It helps to find if any system is exploitable or not, without actully exploiting the code.

It will try to fetch process those using java and check for the log4j-core component.

Note: The script is written on bash, and using two packages(zip, unzip) which is required to run the script.


References:

MITRE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228

NIST: https://nvd.nist.gov/vuln/detail/CVE-2021-44228

Affected and unaffected products of Apache: https://blogs.apache.org/security/entry/cve-2021-44228

Release History of log4j: https://logging.apache.org/log4j/2.x/changes-report.html

Detailed video by Java Brains: https://www.youtube.com/watch?v=uyq8yxWO1ls

About

CVE-2021-44228

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages